{% for section in site.data.navigation.main %}
{% if section.category == page.category %}
{% assign section-title = section.title %}
{% endif %}
{% endfor %}

<div class="category-list-list">
<ul>
{% if page.category != null %}
{% for other in site.pages %}
{% if other.category == page.category and section-title != other.title %}
<li>
    <a href="{{ other.url | prepend: site.baseurl }}">{{ other.caption }}</a>
</li>
{% endif %}
{% endfor %}
{% endif %}
</ul>
</div>